from typing import Union

from fastapi import FastAPI
from pydantic import BaseModel
import uvicorn


from routers.user import userRouter
from routers.namedEntity import namedEntityRouter
from routers.ie import ieRouter


app = FastAPI()
app.include_router(userRouter.router, prefix="/user")
app.include_router(namedEntityRouter.router, prefix="/named_entity")
app.include_router(ieRouter.router, prefix="/ie")


if __name__ == '__main__':
    uvicorn.run(app="main:app", host="0.0.0.0", port=8000, reload=True)

